#!/bin/bash

mkdir -p testing
make test > /dev/null 2> /dev/null
cp exec_plan server.cc tester testing
cd queries
for ((i = 1; i <= 25; ++i)); do
	cp q$i.out q$i.expected
done
rm *.out
cd ..
cp -r queries testing
